package cn.wolfcode.luowowo.query;

import lombok.Data;

@Data
public class TravelQuery extends QueryObject {
    //用于区分前后端  1:前端   2:后端
    private int condition;
    private int state = -1;//游记状态
    private String destId;//目的地id
    private int orderType = 1;//最新或者最热排序
    private int perExpendType = -1;//人均消费
    private int dayType = -1;//旅行天数
    public TravelCondition getPerExpendType(){
        return TravelCondition.perExpendMap.get(perExpendType);
    }
    public TravelCondition getDayType(){
        return TravelCondition.dayMap.get(dayType);
    }
}
